<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>博客首页</title>
    <link rel="stylesheet" href={% static 'bootstrap5/bootstrap.min.css' %}>
    <script src={% static 'bootstrap5/popper.min.js' %}></script>
    <script src={% static 'bootstrap5/bootstrap.min.js' %}></script>
    <link rel="stylesheet" href={% static 'css/base.css' %}>

</head>
<body>
<header class="p-3 text-bg-success border-bottom mb-4">
    <div class="container">
        <div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
            <a href="/static" class="d-flex align-items-center mb-2 mb-lg-0 text-white text-decoration-none">
                <img src={% static 'images/可爱的花猫.png' %}  class="rounded-circle" style="height:40px" alt="">
            </a>

            <ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
                <li><a href="#" class="nav-link px-2 text-white">首页</a></li>
                <li><a href="#" class="nav-link px-2 text-white">博客</a></li>
            </ul>

            <form class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3" role="search">
                <input type="search" class="form-control form-control text-bg" placeholder="搜索..."
                       aria-label="Search">
            </form>

            <div class="text-end">
                <button type="button" class="btn btn-outline-light me-2">登录</button>
                <button type="button" class="btn btn-light">注册</button>
            </div>
        </div>
    </div>
</header>
<main class="container bg-white p-2 rounded">
    <div style="max-width: 330px" class="m-auto">
        <h1>注册</h1>
        <form action="" method="post">
            <div class="mb-3">
                <label for="username" class="form-label">用户名</label>
                    <input type="text" class="form-control" name="username" placeholder="用户名">
            </div>
            <div class="mb-3">
                <label for="password" class="form-label">密码</label>
                    <input type="password" class="form-control" placeholder="密码" name="password">
            </div>
            <div class="mb-3">
                <label for="email" class="form-label">邮箱</label>
                <div class="input-group mb-3">
                    <input type="email" class="form-control" placeholder="请输入邮箱"
                           aria-label="Recipient's username" aria-describedby="button-addon2">
                    <button class="btn btn-outline-secondary" type="button" >获取验证码</button>
                </div>
            </div>
            <div class="mb-3">
                <label for="code" class="form-label">验证码</label>
                    <input type="text" class="form-control" placeholder="验证码" name="code">
            </div>
            <button type="submit" class="btn btn-primary w-100">注册</button>
        </form>
    </div>
</main>
</body>
</html>